package views;

import entities.AgeRating;
import entities.JeuVideo;
import java.util.ArrayList;
import java.util.Collection;

public class AgeRatingLightView {
    private AgeRating ageRating;
    private Collection<JeuVideo> jeuxVideo;
    private int totalJeuxVideo;

    /////////////////////////////CONSTRUCTEURS//////////////////////////////////
    public AgeRatingLightView() {
        this.jeuxVideo = new ArrayList<JeuVideo>();
    }

    public AgeRatingLightView(AgeRating ageRating, Collection<JeuVideo> jeuxVideo) {
        this.ageRating = ageRating;
        this.jeuxVideo = jeuxVideo;
    }

    public AgeRatingLightView(AgeRating ageRating, Collection<JeuVideo> jeuxVideo, int totalJeuxVideo) {
        this.ageRating = ageRating;
        this.jeuxVideo = jeuxVideo;
        this.totalJeuxVideo = totalJeuxVideo;
    }
    ///////////////////////////////////////////////////////////////////////////

    ///////////////////////////////ACCESSEURS ET MUTATEURS///////////////////////
    public AgeRating getAgeRating() {
        return ageRating;
    }

    public void setAgeRating(AgeRating ageRating) {
        this.ageRating = ageRating;
    }

    public Collection<JeuVideo> getJeuxVideo() {
        return jeuxVideo;
    }

    public void setJeuxVideo(Collection<JeuVideo> jeuxVideo) {
        this.jeuxVideo = jeuxVideo;
    }

    public int getTotalJeuxVideo() {
        return totalJeuxVideo;
    }

    public void setTotalJeuxVideo(int totalJeuxVideo) {
        this.totalJeuxVideo = totalJeuxVideo;
    }
}